let base = ' ';


switch (process.env.TYPE) {
    case 'dev':
        base = 'http://api.ahjdev.top/';
        console.log(process.env.TYPE);
        break;
    case 'test':
        base = 'http://api.ahjtest.top/';
        console.log(process.env.TYPE);
        break;
    case 'prod':
        base = 'https://api.anhuanjia.com/';
        console.log(process.env.TYPE);
        break;
    default:
        base = 'http://api.ahjdev.top/';
        console.log(process.env.TYPE);
}


export default {
    uploads() {
        return base;
    }
};